Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerMichael Biebl <biebl@debian.org>
Sun, 2 Oct 2022 19:23:49 +0000 (20:23 +0100)
commit0433de7d263a1333be24d7ed7678e050c10be899
tree1452f9197b954afcab37f64de426ee2d6c85fbf1
parent17fc9fdfc6f27b062c92f16cbba4aa470282a5c7
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in